<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Rackspace
 *
 * @author kevinthant
 */
use \Backuper\Settings\Rackspace;
class Backuper_Zend_Application_Resource_Rackspace extends Zend_Application_Resource_ResourceAbstract{
    //put your code here
    
    public function init(){
        
        $defaults = array('ssl' => false,
            'authUrl' => 'https://identity.api.rackspacecloud.com/v2.0/',
            'objectstore' => array(
                'name' => 'cloudFiles',
                'urltype' => 'publicURL',
                'region' => 'DFW'
            ));
        
        $options = $this->getOptions();
        $options = $this->mergeOptions($defaults, $options);
         
        Rackspace::getInstance($options);
        
        
    }
    
}

